package com.rchat.pocmini.bean2eventbus;

import com.aso.common.eventbus.basebean.EventBusBaseBean;

/**
 * @Description ：PTT 事件通过EventBus第三方工具
 * @Author itsdf07
 * @Time 2018/1/15
 */

public class BTDeviceBean extends EventBusBaseBean {
    private static final int BASE_SCO = 10;
    private static final int BASE_PTT = 20;
    public static final int EVENT_SCO_OPEN = BASE_SCO + 1;
    public static final int EVENT_SCO_CLOSE = BASE_SCO + 2;
    /**
     * 按下PTT时，准备对讲，用于区分话语权申请与SCO的同、异步进行
     */
    public static final int EVENT_PTT_PREPARE = BASE_PTT + 1;
    /**
     * PTT事件：仅申请话语权
     */
    public static final int EVENT_PTT_PREPARE_ONLY_REQUEST = BASE_PTT + 2;
    /**
     * PTT事件：SCO建立连接与申请话语权同步进行
     */
    public static final int EVENT_PTT_PREPARE_SYNC_SCO_AND_REQUEST = BASE_PTT + 3;
    /**
     * PTT事件：SCO建立连接在话语权申请成功之后进行
     */
    public static final int EVENT_PTT_PREPARE_ASYN_SCO_AFTER_REQUEST = BASE_PTT + 4;
    /**
     * 放开PTT时
     */
    public static final int EVENT_PTT_END = BASE_PTT + 5;


}
